﻿using Domain.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Application.Service
{
    public class SalaryService : ISalaryService
    {
        private readonly IHFRepository hfRepository;

        public SalaryService(IHFRepository hfRepository)
        {
            this.hfRepository = hfRepository;
        }
        public Task<bool> Salary(string humanId, int zt)
        {
          return hfRepository.UpdateHumanFileStatus(humanId, zt);
        }
    }
}
